#ifndef __REMAP_H__
#define __REMAP_H__

uint16 smooth_mapping(uint16 input);

uint16 uu_map(uint16 value, uint16 fromlower, uint16 fromHigh, uint16 toLow, uint16 toHigh);
float map(float value, float fromLow, float fromHigh, float toLow, float toHigh);
int mapChValue(int val, int lower, int middle, int upper, int reverse);

#endif